<?php
/**
 * QQAS - share your knowledge to the world!
 * 
 * @author		xiaochong0302 <xiaochong0302@gmail.com>
 * @copyright	Copyright (c) 2011, Koogua Studio.
 * @license		http://www.qqas.org/user_guide/license.html
 * @link		http://www.qqas.org
 * @since		Version 1.0
 * @filesource
 */
 
class AnswerRevisionModel extends Model 
{
	
	public function getAnswerRevisions($answerID)
	{
		$map = array('answer_id' => $answerID);
		$order = array('id' => 'desc');
		$results = $this->where($map)->order($order)->select();
		return $results;
	}
	
}

/* End of file AnswerRevisionModel.class.php */
/* Location: ./App/Lib/Model/AnswerRevisionModel.class.php */